package jsu.yym.tiktok.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@TableName(value = "user")
public class User{
    private String username;
    private String password;
    @TableId(value = "email",type = IdType.INPUT)
    private String email;
    private int state;
    private String sex;
    private String nickname;
    private String image;
    private String signature;
    private String address;
    private String targe;
    private String fileName;


    public User(String username, String password, String email) {
        this.username = username;
        this.password = password;
        this.email = email;
    }

    public User(String username, String nickname) {
        this.username = username;
        this.nickname = nickname;
    }



    public User() {
    }
}
